home *** CD-ROM | disk | FTP | other *** search
/ Colossal Clipart / Colossal Clipart.iso / _debug / 4.bat < prev    next >
DOS Batch File  |  1995-08-09  |  508b  |  33 lines

  1. @echo off
  2.  
  3. rem Kill ini file in %2
  4.  
  5. REM CHECK FOR PARAM
  6. if "%2" == "" goto noparam
  7.  
  8. rem check for dir
  9. if not exist %2\nul goto nodir
  10.  
  11. rem check for file
  12. if not exist %2\CLIPSSG.ini goto nofile
  13.  
  14. Echo Deleting %2\CLIPSSG.INI ...
  15. del %2\CLIPSSG.ini
  16. Echo Success!
  17.  
  18. goto exit
  19.  
  20. :noparam
  21. Echo You must specify a directory.
  22. Echo Example: DEBUG 4 C:\WIN31
  23. GOTO EXIT
  24.  
  25. :nodir
  26. Echo The Directory: %2 does not exist.
  27. goto exit
  28.  
  29. :noFile
  30. Echo The file: %2\CLIPSSG.INI does not exist.
  31.  
  32. :exit
  33.